projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
806f25b
)
(receive_incremental_selection): Use bcopy, not memcpy.
author
Richard M. Stallman
<rms@gnu.org>
Wed, 11 Aug 1993 04:51:08 +0000
(
04:51
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Wed, 11 Aug 1993 04:51:08 +0000
(
04:51
+0000)
src/xselect.c
patch
|
blob
|
history
diff --git
a/src/xselect.c
b/src/xselect.c
index b0675a63f0d8aafeeffa1ccbc139b1be4ef79488..9f083b8b1a7e1cd9edb4dc8390b1c71d330f9790 100644
(file)
--- a/
src/xselect.c
+++ b/
src/xselect.c
@@
-1167,7
+1167,7
@@
receive_incremental_selection (display, window, property, target_type,
*size_bytes_ret = offset + tmp_size_bytes;
*data_ret = (unsigned char *) xrealloc (*data_ret, *size_bytes_ret);
}
-
memcpy ((*data_ret) + offset, tmp_data
, tmp_size_bytes);
+
bcopy (tmp_data, (*data_ret) + offset
, tmp_size_bytes);
offset += tmp_size_bytes;
xfree (tmp_data);
}